package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TbGarbageMail;

/**
 * tb_garbage_mailService接口
 * 
 * @author SJQ
 * @date 2024-11-01
 */
public interface ITbGarbageMailService 
{
    /**
     * 查询tb_garbage_mail
     * 
     * @param id tb_garbage_mail主键
     * @return tb_garbage_mail
     */
    public TbGarbageMail selectTbGarbageMailById(Long id);

    /**
     * 查询tb_garbage_mail列表
     * 
     * @param tbGarbageMail tb_garbage_mail
     * @return tb_garbage_mail集合
     */
    public List<TbGarbageMail> selectTbGarbageMailList(TbGarbageMail tbGarbageMail);

    /**
     * 新增tb_garbage_mail
     * 
     * @param tbGarbageMail tb_garbage_mail
     * @return 结果
     */
    public int insertTbGarbageMail(TbGarbageMail tbGarbageMail);

    /**
     * 修改tb_garbage_mail
     * 
     * @param tbGarbageMail tb_garbage_mail
     * @return 结果
     */
    public int updateTbGarbageMail(TbGarbageMail tbGarbageMail);

    /**
     * 批量删除tb_garbage_mail
     * 
     * @param ids 需要删除的tb_garbage_mail主键集合
     * @return 结果
     */
    public int deleteTbGarbageMailByIds(Long[] ids);

    /**
     * 删除tb_garbage_mail信息
     * 
     * @param id tb_garbage_mail主键
     * @return 结果
     */
    public int deleteTbGarbageMailById(Long id);
}
